package com.inifitness.display.controller.common;

import com.inifitness.common.result.Result;

import io.swagger.v3.oas.annotations.Operation;
import io.swagger.v3.oas.annotations.tags.Tag;
import lombok.AllArgsConstructor;
import lombok.extern.log4j.Log4j2;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;

/**
 * 场馆内环境数据接口
 *
 * @author sunjinfeng
 * @version 1.0.0
 * @since 2024/4/18 14:29
 */
@RestController
@Log4j2
@AllArgsConstructor
@Tag(name = "3.通用接口")
@RequestMapping("/api/v1/air")
public class AirController {

  @Operation(summary = "获取环境信息", description = "获取场馆环境信息")
  @GetMapping()
  public Result detail(@RequestParam(value = "appid") String mac) {
    //TODO: 完善接口
    return Result.success();
  }
}
